﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SimpleCalculator
{
    class Program
    {
        static void Main(string[] args)
        {
            int a, b;
            string choice;

            Console.WriteLine("\t\t\tWelcome to calculator!");
            Console.WriteLine("Please, input first number:");

            a = Convert.ToInt32(Console.ReadLine());
            Console.WriteLine("Please, input second number:");

            b = Convert.ToInt32(Console.ReadLine());
            Console.WriteLine("Choose action to view sum, difference, ratio or product: ");
            choice = Console.ReadLine();

            switch (choice)
            {
                case "+":
                    Console.WriteLine("Sum is: " + (a+b));
                    break;
                case "-":
                    Console.WriteLine("Difference is: " + (a-b));
                    break;
                case "/":
                    Console.WriteLine("Ratio is: " + (a/b));
                    break;
                case "*":
                    Console.WriteLine("Product is: " + (a*b));
                    break;
                default:
                    Console.WriteLine("None of actions was chosen");
                    break;
            }
            //Console.WriteLine("Press Enter to exit");
            //Console.ReadLine();
        }
    }
}

